<?php

namespace app\service\RpcService;


class TestRpc extends BaseRpc
{

    public function test($params = [])
    {
        $data = [
            'message' => 'RPC测试接口',
            'request_data' => $params
        ];
        return $this->response(STATUS_CODE_SUCCESS, 'success', $data);
    }
}